import java.util.Date;

public class TimeChecker {
    public static void main(String[] args) {
        System.out.println(new TimeChecker().checkTime());
    }
    boolean checkTime(){
        Date d = new Date();

        Date f = new Date(2018-1900,9-1,5,16,0);
        Date t = new Date(2018-1900,9-1,6,10,0);
        System.out.println(d);
        System.out.println(f);

        System.out.println(t);
        return d.compareTo(f) >=0 && d.compareTo(t)<=0;

    }
}
